﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Hunter
    {
        public bool marksmanshipCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (marksmanshipPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (marksmanshipDungeonCombat())
                    return true;
            }
            else
            {
                if (marksmanshipQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool marksmanshipHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (marksmanshipPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (marksmanshipDungeonHeal())
                    return true;
            }
            else
            {
                if (marksmanshipQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool marksmanshipBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (marksmanshipPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (marksmanshipDungeonBuff())
                    return true;
            }
            else
            {
                if (marksmanshipQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool marksmanshipPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (marksmanshipPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (marksmanshipDungeonPullSpell())
                    return true;
            }
            else
            {
                if (marksmanshipQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
